export function searchConfig() {
    const searchConfig = [
        {
          label: "字典类型",
          prop: "dictType",
          type: "input"
        },
        {
          label: "字典标签",
          prop: "dictLabel",
          type: "input"
        }
    ]
    return searchConfig
}

export function tableConfig() {
    const tableConfig = {
        thead: [
          {
            type: "selection",
            width: 55,
            align: "center",
            fixed: 'left'
          },
          {
            label: "字典类型",
            prop: "dictType",
            align: "center",
            fixed: 'left'
          },
          {
            label: "字典值",
            prop: "dictValue",
            align: "center"
          },
          { 
            label: "字典标签", 
            prop: "dictLabel", 
            align: "center" 
          },
          { 
            label: "字典描述", 
            prop: "dictDesc", 
            align: "center" 
          },
          {
            label: "操作",
            type: "slot",
            slotName: "operation",
            align: "center",
            width: 160,
            fixed: 'right'
          }
        ]
    }
    return tableConfig
}

export default { searchConfig, tableConfig }